#include <windows.h>
#include "Application.h"
#include <iostream>
#include "profiler.h"
#include <time.h>

extern long int g_liObjects;
int main()
{
	srand(time(0));
	ProfilerInit("profiler.txt");
	Application	*app = new Application();
	app->SetSize(1024, 768);
	app->SetFullScreen(false);
	app->Start("Window");
	
#ifdef _LOGIC_DEBUG
	std::cout<<"Objects last:"<<g_liObjects<<std::endl;
#endif
	delete app;
	system("pause");
}